import request from '@/utils/request'
/**查询头像列表 */
export function listAvatar() {
  return request({
    url: '/manage/avatar/list',
    method: 'get',
  })
}

/**新增图片 */
export function addAvatar(image){
    return request({
        url: '/manage/avatar',
        method: 'post',
        data: image
    })
}

/**删除图片 */
export function delAvatar(id) {
  return request({
    url: '/manage/avatar/' + id,
    method: 'delete'
  })
}